import {
	mapMutations
} from 'vuex'

export default {
	...mapMutations([
		'upIndexInfo','upRefreshFlag'
	]),
	select(e) {
		this.current = e
		this.$nextTick(() => {
			this.$refs.methodsHanld.onShowHanlder(e);
		})
		uni.pageScrollTo({
			scrollTop: 0,
			duration: 300 // 滚动动画持续时间
		});
	}
}